package generator

import (
	"beergo/plugins/maker"
)

func init() {
	ErrorLog()
}

func ErrorLog() {
	doc := maker.CreateDocument("ErrorLog","错误日志","sys")
	doc.Add("file","文件").IsString()
	doc.Add("line","行号").IsString()
	doc.Add("error","错误内容").IsString()

	doc.Generate()
}